package com.lottery.dto;

import java.time.LocalDateTime;

public class LotteryResult {
    
    private Long id;
    private String prizeName;
    private boolean isWinner;
    private String prizeDescription;
    private String prizeImageUrl;
    private LocalDateTime drawTime;
    private int remainingChances;
    
    // 构造函数
    public LotteryResult() {}
    
    public LotteryResult(Long id, String prizeName, boolean isWinner, 
                        String prizeDescription, String prizeImageUrl, 
                        LocalDateTime drawTime, int remainingChances) {
        this.id = id;
        this.prizeName = prizeName;
        this.isWinner = isWinner;
        this.prizeDescription = prizeDescription;
        this.prizeImageUrl = prizeImageUrl;
        this.drawTime = drawTime;
        this.remainingChances = remainingChances;
    }
    
    // Getters and Setters
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public String getPrizeName() {
        return prizeName;
    }
    
    public void setPrizeName(String prizeName) {
        this.prizeName = prizeName;
    }
    
    public boolean isWinner() {
        return isWinner;
    }
    
    public void setWinner(boolean winner) {
        isWinner = winner;
    }
    
    public String getPrizeDescription() {
        return prizeDescription;
    }
    
    public void setPrizeDescription(String prizeDescription) {
        this.prizeDescription = prizeDescription;
    }
    
    public String getPrizeImageUrl() {
        return prizeImageUrl;
    }
    
    public void setPrizeImageUrl(String prizeImageUrl) {
        this.prizeImageUrl = prizeImageUrl;
    }
    
    public LocalDateTime getDrawTime() {
        return drawTime;
    }
    
    public void setDrawTime(LocalDateTime drawTime) {
        this.drawTime = drawTime;
    }
    
    public int getRemainingChances() {
        return remainingChances;
    }
    
    public void setRemainingChances(int remainingChances) {
        this.remainingChances = remainingChances;
    }
}